package reflect;

public class ArgsDemo {
    public static void main(String[] args) {
        dosome();
        dosome("1");
        dosome("2","3");
    }
    public static void study(){
        System.out.println("study");
    }

    public static void dosome(){
        System.out.println("无参");
    }
    public static void dosome(String... s) {
        for (String s1 : s) {
            System.out.println(s1);
        }
    }
}

